package com.bootdo.system.dao

import com.bootdo.system.test.TestDO
import org.apache.ibatis.annotations.Mapper

@Mapper
interface TestDao {
  fun get(id: Long?): TestDO

  fun unique(map: Map<String, Any>): TestDO

  fun list(map: Map<String, Any>): List<TestDO>

  fun count(map: Map<String, Any>): Int

  fun save(entity: TestDO): Int

  fun update(entity: TestDO): Int

  fun remove(id: Long?): Int

  fun batchRemove(ids: LongArray): Int
}